How to create an HTML text field bigger than one line

Updated: 05/21/2018 by Computer Hope
HTML and its corresponding languages.

When creating a text field in HTML (HyperText Markup Language), make sure you have the "rows=X" "cols=X" inside of the text field tag. Where "X" is the value of how many rows tall or how many columns wide you want the textarea to be.

In the example code below, we have made a text field that is 2 rows tall and 20 columns wide.

<textarea name="content" rows="2" cols="20"></textarea>

Example

Using the above example would create the below textarea box.